<%@page import="java.util.ArrayList"%>
<%@page import="com.jlrdb.model.CellularBroadcast"%>
<%@page import="com.jlrdb.model.CellularBroadcasts"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>View Cellular Broadcasts</title>
<script type="text/javascript" src="/script/pagination.js"></script>
<link rel="stylesheet" type="text/css" href="/css/pagination.css">
</head>
<body>
	<%
		CellularBroadcasts cellularBroadcasts = (CellularBroadcasts) request
			.getAttribute("cellularBroadcasts");
			String geography=(String)request.getAttribute("geographic_region");
			if(!geography.equalsIgnoreCase("none"))
			{
	%>
	<P>
		Geographic Region: <font color="blue"><%=geography%></font>
	</p>
	<%
		}
	%>
	<table border=1 id="tablepaging" class="yui">
		<thead>
			<tr>
				<%
					if(geography.equalsIgnoreCase("none"))
																{
				%>
				<th><div style="width: 150px">Geographic Region</div></th>
				<%
					}
				%>
				<th><div style="width: 150px">Country</div></th>
				<!-- 			<th>Geographic_Region</th> -->
				<th><div style="width: 100px">Technology</div></th>
				<th><div style="width: 200px">Data Enhancement Technology</div></th>
				<!-- 				<th><div style="width: 200px">Information_Transfer_Rate</div></th> -->
				<th><div style="width: 100px">Start Date</div></th>
				<th><div style="width: 100px">End Date</div></th>
				<th><div style="width: 150px">Frequency Spectrum</div></th>
				<!-- 			<th>Market_Penetration</th> -->
				<!-- 				<th><div style="width: 150px">operators</div></th> -->
				<!-- 			<th>Source_Of_Reference</th> -->
				<!-- 			<th>Aditional_Contacts</th> -->
				<!-- 				<th><div style="width: 180px">Industry_Regulators</div></th> -->
				<!-- 			<th>Market_Confirmation</th> -->
				<!-- 			<th>Notes</th> -->
				<!-- 			<th>Problems</th> -->
			</tr>
		</thead>
		<%
			for (CellularBroadcast brd : cellularBroadcasts
					.getCellularBroadcasts()) {
		%>
		<tbody>
			<tr class="even">
				<%
					if(geography.equalsIgnoreCase("none"))
														{
				%>
				<td><%=brd.getGeographic_Region()%></td>
				<%
					}
				%>
				<td><a href="/CellularBroadcastServlet?action=viewCellularBroadcasts&&country=<%=brd.getCountry()%>" target="_blank"><%=brd.getCountry()%></a></td>
				<%-- 			<td><%=brd.getGeographic_Region()%></td> --%>
				<td><%=brd.getCellular_Technology()%></td>
				<td><%=brd.getData_Enhancement_Technology()%></td>
				<%-- 				<td><%=brd.getInformation_Transfer_Rate()%></td> --%>
				<td><%=brd.getStart_Date()%></td>
				<td><%=brd.getEnd_Date()%></td>
				<td><%=brd.getFrequency_Spectrum()%></td>
				<%-- 			<td><%=brd.getMarket_Penetration()%></td> --%>
				<%-- 				<td><%=brd.getOperators()%></td> --%>
				<%-- 			<td><%=brd.getSource_Of_Reference()%></td> --%>
				<%-- 			<td><%=brd.getAditional_Contacts()%></td> --%>
				<%-- 				<td><%=brd.getIndustry_Regulators()%></td> --%>
				<%-- 			<td><%=brd.getMarket_Confirmation()%></td> --%>
				<%-- 			<td><%=brd.getNotes()%></td> --%>
				<%-- 			<td><%=brd.getProblems()%></td> --%>
			</tr>
		</tbody>
		<%
			}
		%>
	</table>
	<div id="pageNavPosition" style="padding-top: 20px" align="center"></div>
	<script type="text/javascript">
		var pager = new Pager('tablepaging', 18);
		pager.init();
		pager.showPageNav('pager', 'pageNavPosition');
		pager.showPage(1);
	</script>
</body>
</html>